package sf.dao.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TRole entity. @author MyEclipse Persistence Tools
 */

public class TRole implements java.io.Serializable {

	// Fields

	private BigDecimal nroleid;
	private String srolename;
	private String sroleinfo;
	private Date addtime;
	private String updateuser;
	private Date updatetime;
	private Boolean ndropdel;
	private Set<TUser> users = new HashSet<TUser>();

	// Constructors

	/** default constructor */
	public TRole() {
	}

	/** full constructor */
    
     
	// Property accessors

	public BigDecimal getNroleid() {
		return this.nroleid;
	}

	public TRole(BigDecimal nroleid, String srolename, String sroleinfo,
			Date addtime, String updateuser, Date updatetime, Boolean ndropdel,
			Set<TUser> users) {
		super();
		this.nroleid = nroleid;
		this.srolename = srolename;
		this.sroleinfo = sroleinfo;
		this.addtime = addtime;
		this.updateuser = updateuser;
		this.updatetime = updatetime;
		this.ndropdel = ndropdel;
		this.users = users;
	}

	public void setNroleid(BigDecimal nroleid) {
		this.nroleid = nroleid;
	}

	public String getSrolename() {
		return this.srolename;
	}

	public void setSrolename(String srolename) {
		this.srolename = srolename;
	}

	public String getSroleinfo() {
		return this.sroleinfo;
	}

	public void setSroleinfo(String sroleinfo) {
		this.sroleinfo = sroleinfo;
	}

	public Date getAddtime() {
		return this.addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public String getUpdateuser() {
		return this.updateuser;
	}

	public void setUpdateuser(String updateuser) {
		this.updateuser = updateuser;
	}

	public Date getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	public Boolean getNdropdel() {
		return this.ndropdel;
	}

	public void setNdropdel(Boolean ndropdel) {
		this.ndropdel = ndropdel;
	}

	public Set<TUser> getUsers() {
		return users;
	}

	public void setUsers(Set<TUser> users) {
		this.users = users;
	}

    

}